<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
    class Escape
    {
        public function doEnhancedEscape ($string)
        {
            $stringToEscape = $string;

            $stringToEscape = strip_tags($stringToEscape);
            $stringToEscape = htmlentities($stringToEscape, ENT_QUOTES , "UTF-8");

            return $stringToEscape;

        }

    }

?>
